package sk.mygui;

import android.content.Context;
import android.widget.TableRow;

public class GameStatsTableRow extends TableRow {

	public GameStatsTableRow(Context context) {
		super(context);
	}

	public void create(String name, int result) {
		NameTextView nameView = new NameTextView(getContext(), name);
		addView(nameView);

		ResultTextView resultView = new ResultTextView(getContext(), result);
		addView(resultView);
	}
}
